package com.system.data.service;

import com.system.data.dao.JingdongCommentDao;
import com.system.data.model.JingdongComment830;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Service
public class JingdongCommentService {
    @Autowired
    JingdongCommentDao jingdongCommentDao;

    public List<String> findJingDongOrderChoose(){
        return jingdongCommentDao.findJingDongOrderChoose();
    }

    public List<JingdongComment830> findJingDongComment(@RequestParam String orderChoose){
        return jingdongCommentDao.findJingDongComment(orderChoose);
    }
}
